package com.fastloan.jn.mgt.customermanager.basic.model;

import com.kawins.base.baseabs.BaseModel;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import javax.persistence.*;

@Table(name = "JN_CUSTOMER_MANAGER")
public class JnCustomerManager extends BaseModel<String>{
    /**
     * 客户经理id
     */
    @Id
    @Column(name = "USER_ID")
    private String userId;

    /**
     * 客户经理父ID
     */
    @Column(name = "PARENT_ID")
    private String parentId;

    /**
     * 客户经理级别
     */
    @Column(name = "LEVEL_ID")
    private String levelId;

    /**
     * 入职时间
     */
    @Column(name = "HIREDATE")
    private Date hiredate;

    /**
     * 获取客户经理id
     *
     * @return USER_ID - 客户经理id
     */
    public String getUserId() {
        return userId;
    }

    /**
     * 设置客户经理id
     *
     * @param userId 客户经理id
     */
    public void setUserId(String userId) {
        this.userId = userId;
    }

    /**
     * 获取客户经理父ID
     *
     * @return PARENT_ID - 客户经理父ID
     */
    public String getParentId() {
        return parentId;
    }

    /**
     * 设置客户经理父ID
     *
     * @param parentId 客户经理父ID
     */
    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    /**
     * 获取客户经理级别
     *
     * @return LEVEL_ID - 客户经理级别
     */
    public String getLevelId() {
        return levelId;
    }

    /**
     * 设置客户经理级别
     *
     * @param levelId 客户经理级别
     */
    public void setLevelId(String levelId) {
        this.levelId = levelId;
    }

    /**
     * 获取入职时间
     *
     * @return HIREDATE - 入职时间
     */
    public Date getHiredate() {
        return hiredate;
    }

    /**
     * 设置入职时间
     *
     * @param hiredate 入职时间
     */
    public void setHiredate(Date hiredate) {
        this.hiredate = hiredate;
    }
}